/* pages/goods_detail/index.wxss */
page{
    padding-bottom: 90rpx;
}

.detail_swiper{
    swiper{
        height: 65vw;
        text-align: center;
        image{
          width: 60%;
        }
    }
}

.detail_price{
    color: var(--themeColor);
    font-size: 32rpx;
    font-weight: 600;
    padding: 15rpx;
}
.detail_name_row{
    display: flex;
    border-top: 5rpx solid #dedede;
    border-bottom: 5rpx solid #dedede;
    padding: 10rpx 0;
   .detail_name{
       flex: 5;
       color: #000;
       font-size: 30rpx;
       padding: 0 10rpx;
       border-right: 2rpx solid #000;

       display: -webkit-box;
       overflow: hidden;
       -webkit-box-orient: vertical;
       -webkit-line-clamp: 2;
   } 
   .detail_collect{
       flex: 1;
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items: center;
       .iconfont{
       }
       .collect_text{}
   }
}

.goods_info{
    .goods_info_title{
        color: var(--themeColor);
        font-size: 30rpx;
        font-weight: 800;
        padding: 20rpx ;
    }
    .goods_info_content{}
}

.btm_tool{
    border-top: 1px solid #ccc;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 90rpx;
    display: flex;
    background-color: #ffffff;
    justify-content: center;
    align-content: center;

    .tool_item{
        flex: 1.5;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 23rpx;
        position: relative;
        button{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
        }
    }
    .btn_cart{
        flex: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #ffa500;
        color: #fff;
        font-weight: 600;
        font-size: 30rpx;
        
    }
    .btn_buy{
        flex:2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #eb4450;
        color: #fff;
        font-weight: 600;
        font-size: 30rpx;
    }
}
